import ApplyUpload from './ApplyUpload'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'


export function mapStateToProps({ user, global: { sample, band, sampleImgs, sampleScore, workStatus, checkList }, setting: { coopers } }: StoreState) {
  return {
    record: sample,
    user,
    band,
    coopers,
    sampleImgs,
    sampleScore,
    workStatus,
    checkList
  }
}
export default connect(mapStateToProps)(ApplyUpload)